<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>焊接数据管理</title>
<link rel="Stylesheet" href="../css/main.css" type="text/css" />
<script type="text/javascript" src="../js/jquery.js"></script>
<script type="text/javascript" src="../js/Util.js"></script>
<script type="text/javascript" src="../home/js/navbar.js"></script>
<script type="text/javascript" src="../home/js/productadmin.js"></script>
</head>
<body>
<div class="pagecontent">
	<div class="pagehead">
		{#include_php file='../home/head.php' once=true#}
	</div>
	<div class="pagebody">
		<div class="bodyleft">
			{#include_php file='../home/navbar.php' once=true#}
		</div>
		<div class="bodyright">
			<h2>焊接数据管理</h2>
			<div class="sepline"></div>
			<div class="bakhellp">
				<p class="msgok">点任意一个添加链接将会进入添加焊接数据界面</p>
				<p class="msgok">点删除将会删除当前焊接数据</p>
				<p class="msgok">点修改将会进入修改焊接数据界面</p>
			</div>
			<div>
				<div class="ptypes">
					<!--{foreach from=$types item=type}-->
					<a href="?tid={#$type.tid#}">{#$type.tname#}</a>
					<!--{foreachelse}-->
					还没有车辆类型信息呢。点<a href="../home/typeadmin.php">这里</a>添加
					<!--{/foreach}-->
				</div>
				<div style="margin:10px 20px 10px 20px;" class="sepline2"></div>
				<!--{foreach name=productlist from=$products item=p}-->
				<div class="pruductlist">
					<ul class="partleft">
						<li>数据编号: {#$p.pid#}</li>
						<li>车辆类型: {#$p.tname#}</li>
                        <li>车辆容量: {#$p.cxrl#}</li>
						<li>工件材料: {#$p.gjcl#}</li>
						<li>焊缝编号: {#$p.hfbh#}</li>
					</ul>
					<ul class="partleft">
                    	<li>送丝速度: {#$p.sssd#}</li>
                    	<li>弧长修正: {#$p.dhcd#}</li>
                    	<li>推力修正: {#$p.tlxz#}</li>
                    	<li>回烧修正: {#$p.hsxz#}</li>
					</ul>
					<ul class="partright">
						<li>操作模式: {#$p.czms#}</li>
						<li>焊丝材料: {#$p.hscl#}</li>
						<li>焊丝直径: {#$p.hszj#}</li>
                        <li>保护气体: {#$p.bhqt#}</li>
					</ul>
					<div style="clear:both;"></div>
					<div class="linkdiv">
						<!--{if $p.canadd}-->
						<a href="../home/addproduct.php">添加</a>&nbsp;|&nbsp;
						<!--{/if}-->
						<!--{if $p.canmodify}-->
						<a href="../home/modifyproduct.php?pid={#$p.pid#}">修改</a>&nbsp;|&nbsp;
						<!--{/if}-->
						<!--{if $p.candelete}-->
						<a class="_deleteproduct" href="../home/dodeleteproduct.php?pid={#$p.pid#}">删除</a>
						<!--{/if}-->
					</div>
				</div>
				<!--{if !$smarty.foreach.productlist.last}-->
				<div style="margin:10px 20px 10px 20px;" class="sepline2"></div>
				<!--{/if}-->
				<!--{foreachelse}-->
				<div class="pruductlist">没有焊接数据,点<a href="../home/addproduct.php">这里添加焊接数据</a></div>
				<!--{/foreach}-->
			</div>
		</div>
	</div>
	<div class="pagetail">
	{#include_php file='../home/footer.php' once=true#}
	</div>
</div>
</body>
</html>